import {WeaTools} from 'ecCom'

/**
 * 绩效-考核成绩是否启用考核周期
 * jiansong 2019/6/11
 */
export const accessAssessmentCycleApi = () => {
    return WeaTools.callApi('/api/workrelate/performance/accessAssessmentCycle', 'GET');
}

/**
 * 绩效-考核成绩
 * jiansong 2019/6/11
 */
export const accessResultListApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/accessResultList', 'GET', params);
}

/**
 * 绩效-考核成绩-提醒列表
 * jiansong 2019/6/11
 */
export const accessResultSendListApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/accessResultSendList', 'GET', params);
}

/**
 * 绩效-考核成绩-发送提醒
 * jiansong 2019/6/11
 */
export const accessResultSendRemindApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/accessResultSendRemind', 'POST', params);
}

/**
 * 绩效-考核成绩-导出
 * jiansong 2019/6/11
 */
export const accessResultExportApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/accessResultExport', 'POST', params);
}